<template>
  <div class="blanck flex-row flex-item flex-center">
    <img v-if="!loading" src="/static/icon-none.png" alt="">
    <img v-else src="/static/loading.gif" alt="" class="loading">
    <div v-if="!loading">空空如也</div>
  </div>
</template>

<script>
  export default {
    data() {
      return {
        // key: value
      }
    },
    props: {
      loading: {
        type: Boolean,
        default: false
      },
    },
  }
</script>

<style lang="less" scoped>
.blanck {
  text-align: center;
  // width: 100vw;
  font-size: 13px;
  color: #999;
}
img {
  height: 100px;
  width: 100px;
  margin-top: 120px;
  margin-bottom: 20px;
}
.loading {
  height: 60px;width: 60px;
  margin-top: 300rpx;
  margin-right: 50px;
}

</style>